package com.swiftops.basic.login.dao;

import com.swiftops.basic.login.vo.response.SysLoginMenuResponseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 登录Mapper
 *
 * @author yangyang
 * @date 2023/09/17
 **/
@Mapper
public interface SysLoginMapper {

    //查询用户角色名称
    List<String> getRoleNameByUserId(@Param("userId") String userId);

    //查询登录用户菜单列表
    List<SysLoginMenuResponseVO> getMenusByUserId(@Param("userId") String userId);
}
